package com.dkm.ec.sale.repository;

import java.util.List;
import java.util.Map;

import com.dkm.biz.repository.IRepository;
import com.dkm.ec.sale.domain.SaleSkuGroup;
import com.dkm.ec.sale.persistence.entity.SaleSkuGroupPo;
/**
 * 对象功能:销售产品SKU自定义组 Repository接口
 * 开发公司:SKG.COM
 * 开发人员:HJD
 * 创建时间:2015-07-08 17:38:34
 */
public interface SaleSkuGroupRepository extends IRepository<String, SaleSkuGroupPo,SaleSkuGroup>{
	  
	public List<SaleSkuGroupPo> findGroups(Map<String, Object> params);
	
	/**
	 * 根据group的键值获取分组详细信息
	 * @param params
	 * @return
	 */
	public List<SaleSkuGroupPo> findGroupsByGroupKey(Map<String, Object> params);
	
	public SaleSkuGroupPo findGroupByGroupKey(Map<String, Object> params);
	
	public Integer countGroup();

	public List<SaleSkuGroupPo> findAppointOptLists();

	public List<SaleSkuGroupPo> findSkuGroupByKey(String skuGroup);
}
